﻿using System.Collections.Generic;
using eProject.Model;

namespace eProject.ViewModel
{
    public class ScheduleItemViewModel : ViewModelBase
    {
        public ScheduleItemViewModel(IEnumerable<EmployeeViewModel> employees, double manHours, Period period)
        {            
            Employees = new List<EmployeeViewModel>(employees);
            ManHours = manHours;
            Period = period;

        }

        public IEnumerable<EmployeeViewModel> Employees { get; private set; }

        public double ManHours { get; private set; }

        public Period Period { get; set; }

        internal ScheduleItem ScheduleItem { get; set; }
        
    }
}
